var ShapeHud = new Class(
{
        initialize: function(width,height,spawnX,spawnY,backgroundColor,message)
        {
               
		//game so you can know of your world
		this.mGame = game;

		//src 
		this.mSrc = src;
               
		//size 
		this.mWidth = width;
                this.mHeight = height;

		//position
		this.mPosition      = new Point2D(spawnX,spawnY);

		//background
		this.mBackgroundColor = backgroundColor;
                
                //create the movable div that will be used to move image around.        
		this.mDiv = new Div(this);

                this.mMesh;
        
                this.mMesh = document.createElement("p");
		
                //back to div   
                this.mDiv.mDiv.appendChild(this.mMesh);
        },

	setPosition: function(x,y)
	{
		this.mPosition.mX = x;
		this.mPosition.mY = y;
	},

	/********* COLOR ******************/

	setBackgroundColor: function(c)
	{
		this.mBackgroundColor = c;
		this.mDiv.mDiv.style.backgroundColor = c;
	}


 }); 
